#!/bin/sh
#author wym
docker stop kod-nginx
docker rm kod-nginx
docker rmi wym/nginx:kod
docker build -t  wym/nginx:kod .
docker run -d -it \
-p 888:80 \
--name kod-nginx \
-v /app/docker/kodcloud/nginx/conf.d:/etc/nginx/conf.d \
-v /app/docker/kodcloud/nginx/html:/usr/share/nginx/html \
--network kodnet \
wym/nginx:kod
